/*
 * This file is part of CGVis.
 *
 * Copyright 2008 Ilya Boyandin, Erik Koerner
 * 
 * CGVis is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * CGVis is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with CGVis.  If not, see <http://www.gnu.org/licenses/>.
 */
package at.fhjoanneum.cgvis;

/**
 * @author Ilya Boyandin
 */
public class Preferences {

    private static String imageExportLastVisitedDir;
    private String fileOpenLastVisitedDir;
    private ViewPreferences viewPreferences;

    public Preferences() {
        this.viewPreferences = new ViewPreferences();
    }

    public ViewPreferences getViewPreferences() {
        return viewPreferences;
    }

    public String getFileOpenLastVisitedDir() {
        return fileOpenLastVisitedDir;
    }

    public void setFileOpenLastVisitedDir(String fileOpenLastVisitedDir) {
        this.fileOpenLastVisitedDir = fileOpenLastVisitedDir;
    }

    public static String getImageExportLastVisitedDir() {
        return imageExportLastVisitedDir;
    }

    public static void setImageExportLastVisitedDir(String imageExportPath) {
        Preferences.imageExportLastVisitedDir = imageExportPath;
    }

}
